Tumbleweed zypper dist-upgrade as a systemd service
The suggested procedure requires some considerations:
https://en.opensuse.org/SDB:Upgrade_Tumbleweed#Procedure
By far the easiest and most convenient way of running the command is creating a systemd service. Users may want to perform the upgrade in two steps:
Download and cache pending packages locally
erlangen:~ # systemctl cat dup # /etc/systemd/system/dup.service [Unit] Description=Dist Upgrade download [Service] ExecStart=/usr/bin/zypper dup --no-confirm --download-only erlangen:~ #
Install cached packages
erlangen:~ # systemctl cat dupa # /etc/systemd/system/dupa.service [Unit] Description=Dist Upgrade install [Service] ExecStart=/usr/bin/zypper dup --no-confirm erlangen:~ #